package com.kkwrite.regimen.provider.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 验证码表DO
 *
 * @author Ke.Wang
 * @date 2018年7月19日 上午9:26:56
 */
@Entity
@Table(name = "reg_captcha")
@Getter
@Setter
@ToString(callSuper = true)
public class RegCaptchaDO extends BaseDO {
    private static final long serialVersionUID = 290713532906518019L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "captcha_id")
    private Long captchaId;
    @Column(name = "captcha_source_type")
    private Short captchaSourceType;
    @Column(name = "captcha_source")
    private String captchaSource;
    @Column(name = "captcha_type")
    private Short captchaType;
    @Column(name = "captcha_value")
    private String captchaValue;
    @Column(name = "effective_time")
    private Date effectiveTime;
    @Column(name = "expire_time")
    private Date expireTime;
    @Column(name = "captcha_note")
    private String captchaNote;

}
